Skip to content

feat(schema): upgrade ACP schema from v0.10.8 to v0.11.2#80

Merged
PsiACE merged 1 commit intoagentclientprotocol:mainfrom
Nemtecl:main
Mar 18, 2026
Merged

feat(schema): upgrade ACP schema from v0.10.8 to v0.11.2#80
PsiACE merged 1 commit intoagentclientprotocol:mainfrom
Nemtecl:main

Conversation

@Nemtecl
Copy link
Contributor

@Nemtecl Nemtecl commented Mar 16, 2026

Summary

Upgrades the ACP schema from v0.10.8 to v0.11.2, regenerates all derived code, and wires up new protocol features.

Key changes:

  • New stable methods: session/list (previously unstable), session/close (new, unstable)
  • New types: CloseSessionRequest/Response, KillTerminalRequest/Response, FileSystemCapabilities, SetSessionConfigOptionSelectRequest, SetSessionConfigOptionBooleanRequest, AuthMethodEnvVar, AuthMethodTerminal, SessionConfigBoolean
  • Renamed types: KillTerminalCommandRequest/ResponseKillTerminalRequest/Response, FileSystemCapabilityFileSystemCapabilities, SetSessionConfigOptionRequest split into typed select/boolean variants
  • Regenerated schema.py and meta.py via make gen-all

Testing

  • make test passes (all existing tests + new test_list_sessions_stable and test_call_unstable_protocol / test_call_unstable_protocol_warning updated for new stable/unstable routing)
  • make check passes (ruff lint + format)

Docs & screenshots

Example files (examples/client.py, examples/gemini.py) updated to use renamed types.

Checklist

  • Conventional Commit title (e.g. feat:, fix:).
  • Tests cover the change or are not required (explain above).
  • Docs/examples updated when behaviour is user-facing.
  • Schema regenerations (make gen-all) are called out if applicable.

- Regenerate schema bindings and Pydantic models
- Add session/close endpoint and CloseSession request/response types
- Add message_id parameter to PromptRequest
- Add AuthCapabilities, AuthEnvVar, AuthMethodAgent, AuthMethodEnvVar types
- Rename KillTerminalCommandRequest/Response to KillTerminalRequest/Response
- Rename SetSessionConfigOptionRequest to SetSessionConfigOptionSelectRequest
- Promote session/list from unstable to stable
- Update agent/client routers, interfaces, examples, and tests accordingly

Generated by Mistral Vibe.
Co-Authored-By: Mistral Vibe <vibe@mistral.ai>
@PsiACE
Copy link
Member

PsiACE commented Mar 18, 2026

Thank you for your contribution. It looks great. I’ll merge it first and then do some cross-language comparisons.

@PsiACE PsiACE merged commit 7e0a587 into agentclientprotocol:main Mar 18, 2026
8 checks passed
@Nemtecl
Copy link
Contributor Author

Nemtecl commented Mar 19, 2026

@PsiACE Do you think we could have a release so that I can already try it out ? Even if it's a beta release or any other format ?

Can't wait to try this out

@PsiACE
Copy link
Member

PsiACE commented Mar 19, 2026

hi @Nemtecl , I’ve just released version 0.9.0a1 for testing. Let's give it a try

pip install agent-client-protocol==0.9.0a1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants